<!DOCTYPE html>
<html>
<head>
  <title><%= title %></title>
  <link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
<h1><%= title %></h1>
<p>Welcome to <%= title %></p>

<% if(typeof(image) !== 'undefined' && image){ %>
<img src="<%=image%>">
<%}else{%>
<form action="/goodslist/addGoods" enctype="multipart/form-data" method="POST">
  <input type="file" name="goodsfile">
  <input type="file" name="mainfiles"  >
  <input type="file" name="mainfiles">
  <div>checkbox
  <input type="checkbox" name="abc" value="1" />
  <input type="checkbox" name="abc" value="2" />
  <input type="checkbox" name="abc" value="3" />
  </div>
  <input type="submit" value="上传">
</form>
<%}%>
</body>
</html>